# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo07
# Description:
# Author:       98745
# Date:         2019/6/8
#-------------------------------------------------------------------------------

from flask import *
app=Flask(__name__)

@app.route('/test')
def test():
    return app.send_static_file('text1.txt')

@app.route('/abc')
def abc():
    return redirect('/static/text1.txt')

if __name__ == '__main__':
    app.run()